package com.LMZ.RPC.myRPCV5.codec;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum MessageType {

    REQUEST(0),RESPONSE(1);
    private int code;

    public int getCode(){
        return  code;
    }
}